package util;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import exception.IBToolsException;

import manager.MapManager;

public class ServerInitializer implements ServletContextListener {
	 
    public void contextInitialized(ServletContextEvent event) {
//    	MapManager.initBagKeyMap(true);
//    	MapManager.initErrorReasonMap();
    	try {
			MapManager.initErrorReasonMap();
		} catch (IBToolsException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    }
 
    public void contextDestroyed(ServletContextEvent event) {
    }
}